<div id="answer_layer">
	<h3>&Omega;Prayer Got Answered!</h3>

	<% remote_form_for [@prayer, @answer] do |f| %>
		<%= f.hidden_field :user_id, :value => @signed_user.id %>
		<%= f.hidden_field :prayer_id, :value => @prayer.id %>
		<p><%= f.text_field :body, :autocomplete => "off", :class => "text" %></p>
	<% end %>

	<ul id="answers">
		<%= render :partial => 'answers/answer', :collection => @answers %>
	</ul>

	<div class="will_pagination">
		<%= will_paginate @answers, :onclick => "RenderAnswersByPagination(event); return false;" %>
	</div>
</div>

<script>
	$('answer_body').focus();
</script>
